package com.liuwa.common.bean;

import io.swagger.annotations.ApiModelProperty;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Liuwa
 * @Description:
 * @Date: 2024/12/16
 */
public abstract class BaseQuery {

    /** 查询参数，用于非等值查询 */
    @ApiModelProperty(hidden = true)
    protected Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}